package global

import (
	"github.com/mojocn/base64Captcha"
	"github.com/spf13/viper"
	"go.uber.org/zap"
	"shopstar/config"
)

const ConfigFile = "/Users/wgp/go/src/shopstar/config/conf/conf.yml" // 配置文件路径
// 定义全局的变量
var (
	Config config.Config
	Viper  *viper.Viper
	Logs   *zap.Logger
)

// 图片验证码存储
var CaptchaStore = base64Captcha.DefaultMemStore
var JwtKey = "wgpShop"
